<?php

namespace Application\Form;
use Zend\Form\Form;

class InputFileForm extends Form{
	public function __construct(){
		
		parent::__construct("file_input");
		$this->setAttribute('method','post');
		
		$this->add(array(
			'name' =>'avatar',
			'attributes' =>array(
					'type' =>'File',
			),
			'options' =>array(
				'label'=>_('Charger votre CV')
			)
		));
		
		$this->add(array(
				'name' => 'submit',
				'attributes' => array(
						'type'  => 'submit',
						'width' => '30px',
						'value' => 'OK',
						'id' => 'submitbutton',
				),
		));
	}
}

?>